import { createApp } from 'vue'
import './style.css'
import '@/config/base'
import 'default-passive-events'
import '@/assets/font/iconfont.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import App from './App.vue'
import '@/utils/spacing.js'
import router from '@/router'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
// MARK 2023-4-11 10:48:考虑使用async/await的语法糖
createApp(App).use(pinia)
  .use(router)
  .mount('#app')